package com.winphone.uvam.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.winphone.uvam.common.Constant;

import java.util.Date;


/**
 * <p>
 * 文件表
 * </p>
 *
 * @author LiaoJunJie
 * @since 2017-12-18
 */
@TableName("file_info")
public class FileInfo extends SuperEntity<FileInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 文件名称
     */
    private String name;
    /**
     * 文件相对路径
     */
    private String location;
    /**
     * 文件类型
     */
    private String type;
    /**
     * 文件md5
     */
    private String md5;
    /**
     * 文件大小
     */
    private Long size;
    /**
     * 文件状态
     */
    private String status;
    private String classified;
    /**
     * 上传人
     */
    @TableField("create_by")
    private Long createBy;
    /**
     * 上传时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 修改人id
     */
    @TableField("update_by")
    private Long updateBy;
    /**
     * 修改时间
     */
    @TableField("update_date")
    private Date updateDate;
    /**
     * 是否删除
     */
    @TableField("is_delete")
    private String isDelete = Constant.DELETE_NO;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getClassified() {
        return classified;
    }

    public void setClassified(String classified) {
        this.classified = classified;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }
}
